package com.baitiaojun.video.service;

import com.baitiaojun.api.domain.video.VideoView;
import com.baitiaojun.api.exception.ConditionException;

import javax.servlet.http.HttpServletRequest;

/**
 * @类名 VideoViewService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/2/23 16:44
 * @版本 1.0
 */
public interface VideoViewService {

    void addVideoViewCount(VideoView videoView, HttpServletRequest request) throws ConditionException;

    Integer getVideoViewCount(Long videoId);
}
